<?php
/**
 * @author luu van trung
 * @category Candy Library
 * @package Candy Workflow
 *
 */
class CandyWF_Execution_State {
	const  CANDYWF_STATE_OPEN = 'open';
	const  CANDYWF_STATE_CLOSE = 'close';
	const  CANDYWF_STATE_WHILE_OPEN_RUNNING = 'open.running';
	const  CANDYWF_STATE_WHILE_OPEN_NOTRUNNING = 'open.not_running';
	const  CANDYWF_STATE_WHYNOTRUNNING_NOTSTARTED= 'open.not_running.not_started';
	const  CANDYWF_STATE_WHYNOTRUNNING_SUSPENDED= 'open.not_running.suppended';
	const  CANDYWF_STATE_HOWCLOSE_COMPLETED= 'close.completed';
	const  CANDYWF_STATE_HOWCLOSE_TERMINATED= 'close.terminated';
	const  CANDYWF_STATE_HOWCLOSE_ABORT= 'close.abort';

	private $_state;

	public function getSate() {

	}

	public function setState($stateName) {

	}

	public function getWhileOpen() {

	}

	public function setWhileOpen($stateName) {

	}

	public function getWhyNotRunning(){

	}

	public function setWhyNotRunning($stateName){

	}

	public function getHowClose() {

	}

	public function setHowClose($stateName) {

	}
	
	public function __toString(){

	}

}

?>